<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<?php echo self :: $head ?>

    <title><?php echo self :: $title  ?></title>
	<meta http-equiv="content-type" content="text/xhtml; charset=utf-8" />

    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo self :: $url ?>css/screen.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo self :: $url ?>css/forms.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo self :: $url ?>css/cms.css" />

</head>

<body>
<?php echo self :: $messages ?>

<!--header -->
<div id="header-wrap"><div id="header">

	<a name="top"></a>

	<h1 id="logo-text"><a href="<?php print cyfy :: getPath("") ?>" title=""><?php if(\Cyfy\Modules::isEnabled('SiteInformation')) { print \Cyfy\Modules\SiteInformation\Module :: constant('name'); } else { print "Install site info module"; }?></a></h1>
	
    <div id="breadcrumbs"><?php print self :: getPlace("breadcrumbs") ?></div>

	<div  id="nav">
		<?php print self :: getPlace("menu") ?>
	</div>

   <div id="rss">
		<?php print self :: getPlace("rss") ?>
   </div>

   
   <div id="flags">
		<?php print self :: getPlace("flags") ?>
   </div>

   <div id="quick-search">
		<?php print self :: getPlace("quick-search") ?>
   </div>

<!--/header-->
</div></div>
	
<!-- content-outer -->
<div id="content-wrap" class="clear" >

	<!-- content -->
   <div id="content">

   	<!-- main -->
	   <div id="main">

            <?php print self :: getPlace("content") ?>
        <!-- /main -->
		</div>

      <!-- sidebar -->
		<div id="sidebar">
            <?php print self :: getPlace("sidebar") ?>

      
      <!-- /sidebar -->
		</div>

    <!-- content -->
	</div>

<!-- /content-out -->
</div>
		
<!-- footer-outer -->
<div id="footer-outer" class="clear"><div id="footer-wrap">

	<div id="gallery" class="clear">

        <?php print self :: getPlace("footerGallery") ?>
    </div>

    <div class="col-a">
        <?php print self :: getPlace("footerColl1") ?>
	</div>
    
    <div class="col-a">
        <?php print self :: getPlace("footerColl2") ?>
	</div>

    <div class="col-a">
        <?php print self :: getPlace("footerColl3") ?>
	</div>
    
    <div class="col-b">
        <?php print self :: getPlace("footerColl4") ?>
	</div>
    

<!-- /footer-outer -->
</div></div>

<!-- footer-bottom -->
<div id="footer-bottom">
    <p class="bottom-left">
<strong>Page generated by <a href="http://Cyfy.php5.cz">cyfy cms</a>.</strong>   
</p>

<p class="bottom-right">
<a title="Website Templates" href="http://www.bluewebtemplates.com/">website templates</a>
by
<a href="http://www.styleshout.com/">styleshout</a>
</p>

<!-- /footer-bottom-->
</div>
<?php echo self :: $foot ?>

</body>
</html>
